package com.wl.designpattern.iterator;

/**
 * Created by wangliang on 2021/2/23.
 */
public interface Aggregate {
    int size();

    String get(int position);

    void add(String tel);

    void remove(String tel);

    Iterator iterator(); //容器的迭代器
}
